package lab02.Test06;

/**
 * Created by 14394 on 2017/10/16.
 */
public class Circle {
    private double redius;

    public Circle(double redius) {
        this.redius = redius;
    }

    public Circle() {

    }

    public double getRedius() {
        return redius;
    }

    public void setRedius(double redius) {
        this.redius = redius;
    }

    public double getLength(){
        return 2*3.14*redius;
    }

    public  double getArea(){
        return  3.14*redius*redius;
    }
}
